<div class="forum">
{{include "widgets/forums/category_title"}}
<div class="forum-subcategories">
{{foreach item in subcategories}}
	<a href="{{action}}{{item.id}}/">{{item.name}}</a><br/>
{{/foreach}}
</div>
<br/><br/>
<div class="threads">
{{foreach msg in root_messages}}
	<a href="{{action}}{{fields.category_id}}/{{msg.id}}">{{msg.title}}</a><br/>
{{/foreach}}
<a href="{{action}}{{fields.category_id}}/?mode=new_topic">Добавить ветвь дискуссии</a>
</div>
</div>
